home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / CRYPTE11.ARJ / FILECOMP.DOC < prev    next >
Text File  |  1992-05-20  |  2KB  |  55 lines

  1. Documentation file for FILECOMP.EXE
  2.  
  3. LEGAL STUFF
  4.  
  5. FILECOMP.EXE and this file are Copyright (C) 1989-1990 Michael Paul Johnson.
  6. All rights reserved.
  7.  
  8. Permission is hereby granted for this file to be distributed for free (or for
  9. nominal connect time and/or disk duplication charges) provided that the
  10. program is not modified and this documentation file is included with the
  11. program.  If you find this program useful, a donation for what you think it is
  12. worth to the author would be appreciated.  Donations, questions, or comments
  13. may be directed to the author at:
  14.  
  15.           Mike Johnson
  16.       P. O. Box 1151
  17.       Longmont, CO 80502-1151
  18.  
  19.       Rainbow Missions BBS 303-938-9654
  20.  
  21. This program is provided with no warranty of any kind, and no liability of any
  22. sort will be accepted by the author.  It is the responsibility of the user to
  23. determine the suitability of this program for the user's applications.  If you
  24. find a bug in the program, please let me know.
  25.  
  26. WHAT IS THIS?
  27.  
  28. FILECOMP.EXE is a file comparison utility that does a byte for byte comparison
  29. of two files.  Unlike the MS-DOS FC command, this program will compare two
  30. files of different lengths to see if they are the same up to the end of the
  31. shortest file.  It is also faster than the MS-DOS version.
  32.  
  33. I originally wrote this program while working on CRYPTMPJ -- the file
  34. encryption program -- when I noticed that the MS-DOS file comparison program
  35. was not only inadequate, it was not even present in all versions of DOS.
  36.  
  37. To use this program to compare two files, simply enter the names of the files
  38. on the command line.  For example to compare THIS.TXT and THAT.TXT, type:
  39.  
  40. FILECOMP THIS.TXT THAT.TXT
  41.  
  42. If the two files are the same, the program will tell you that.  If the
  43. programs are not the same length, but they are the same up to the end of the
  44. shorter file, the program will report that "The first XXX bytes of THIS.TXT
  45. and THAT.TXT are the same."  (XXX would be the length of the shorter file). 
  46. If the files are different, the first few differences will be shown.  There is
  47. no attempt to resynchronize, but by looking at the differences shown, you will
  48. see if there is just a missing character, or if the files are totally
  49. different at that point, or what.
  50.  
  51. ENJOY!
  52. *******************************************************************************
  53.  
  54.  
  55.